﻿#ifndef DWGPOINT_H
#define DWGPOINT_H

#include "dwgobject.h"
#include <QPointF>

class DwgPoint : public DwgObject
{
    Q_OBJECT
public:
    explicit DwgPoint(QObject *parent = nullptr);

    QPointF mpt;

    // DwgObject interface
private:

    // bool mSelected,mDeleteed;
public:
    virtual void Draw(QPainter *painter);
    virtual void SetData(QPointF p1, QPointF p2);
    virtual void Select(QPointF pt);
};

#endif // DWGPOINT_H
